<br />
<span style="font-size:10pt;"><b>{if $sMode == 'invited'}{language text="invites_for"}: {elseif $sMode == 'attended'}{language text="events_attending_by"}: {elseif $sMode == 'ownevents'}{language text="events_posted_by"}: {/if}{$sUser}</b></span>
{include file="$sRootPath/_blocks/pager_nav_button.html"}
<br />


<table style="width:100%;" cellpadding="5" class="border2">
<tr>
    <td style="width:15%;vertical-align:top;font-size:9pt;" class="mainmenu5">{language text="date"}</td>
    <td style="width:10%;vertical-align:top;font-size:9pt;" class="mainmenu5">{language text="time"}</td>
    <td style="width:{if $sMode == 'invited'}30{else}35{/if}%;vertical-align:top;font-size:9pt;" class="mainmenu5">{language text="event_amp_description"}</td>
    <td style="width:20%;vertical-align:top;font-size:9pt;" class="mainmenu5">{language text="category_145"}</td>
    <td style="width:20%;vertical-align:top;font-size:9pt;" class="mainmenu5">{language text="place_amp_location"}</td>
{if $sMode == 'invited'}
    <td style="width:5%;vertical-align:top;font-size:9pt;" class="mainmenu5"></td>
{/if}
</tr>
{foreach from=$aItems item=aItem name=aitems key=key}
<tr class="{if $key % 2 == 0}border13{/if}">
<td style="width:15%;vertical-align:top;font-size:9pt;" class="color">
{$aItem.time|date_format:$sDateFormat}
</td><td style="width:10%;vertical-align:top;font-size:9pt;" class="color">
{$aItem.start_time}
</td><td style="width:{if $sMode == 'invited'}30{else}35{/if}%;vertical-align:top;font-size:9pt;" class="color">
<a href="{url link='public.event.view' id=$aItem.id}">{$aItem.title|escape}</a>
<div style="font-size:8pt;">{$aItem.short|escape}</div>
</td><td style="width:20%;vertical-align:top;font-size:9pt;" class="color">
{$aItem.type|escape}
</td><td style="width:20%;vertical-align:top;font-size:8pt;" class="color">
{if $aItem.country == 'United States'}
{$aItem.city|escape}, {$aItem.state|escape} (USA)
{else}
{$aItem.city|escape}, {$aItem.country|escape}
{/if}
</td>
{if $sMode == 'invited'}
<td style="width:5%;vertical-align:top;font-size:8pt;" class="color">
<a href="{url link='current' delete=$aItem.invite_id}" onclick="return sure();" >
<img src="design/pic/delete.gif" alt="" />
</a>
</td>
{/if}
</tr>
{foreachelse}
<tr>
<td colspan="6">
<div style="font-weight:bold;color:green;padding:5px;font-size:11px;text-align:center;">
{language text="no_events_found"}
</div>
</td>
</tr>
{/foreach}
</table>
<br />
{include file="$sRootPath/_blocks/pager_nav_button.html"}
<br />